﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

public interface IDataHelper
{
    void GetConnectString(string ip, string port, string name, string psw, string dataTable);

    void Init(string ip, string port, string name, string psw, string dataTable);

    void ExecuteSql(string sql);

    DataSet GetDataSet(string sql);

    void OpenConnection();

    void CloseConnection();

    string Connecting { get; }
}
